<%
# 
# Copyright (C) 2006  Warren Konkel and Bounty Source, Inc.
# 
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
# 
%>
<%=render(:partial => 'header')%>

<script type="text/javascript">
<!--
	var load_path = [<%=@path && @path.length > 0 ? @path.map { |p| "'#{p}'"}.join(',') : '' %>];
	var hash = [];
	var need_to_hash = [];
	
	if (window.location.href.indexOf('#') != -1) {
	  var hashpart = window.location.href.substring(window.location.href.indexOf('#')+1);
	  need_to_hash = hashpart.split('|');
	  hash = hashpart.split('|');
	}
-->
</script>

<div style="clear: both;padding-top: 5px"></div>
<table class="treetable" id="svnbrowsertable">
  <thead>
	  <tr>
	    <th>File</th>
	    <th>Size</th>
	    <th>Revision</th>
	    <th>Age</th>
	    <th>Last Log Entry</th>
	  </tr>
	</thead>
  <tbody>
	  <tr id="trsvn0">
	    <td class="nowrap"><span id="hrefsvn0" class="svnspinnerlink"><b>revision <%=@rev%></b></span></td>
	    <td></td>
	    <td></td>
	    <td></td>
	    <td></td>
	  </tr>
	</tbody>
</table>

<%=javascript_tag(render(:partial => 'tree_js', :locals => {:entries => @entries}))%>

<%=render(:partial => 'footer')%>
